package com.iweb.day05;

/**
 * @author WuYongheng
 * @date 2021/10/31
 * @desc
 */
public class Dog extends Animal {

    @Override
    public void eat() {
        System.out.println("狗子" + this.getName()
                + "啃骨头");
    }

    /**
     * 撒娇方法
     */
    public void fawn() {
        System.out.println("狗子" + this.getName() + "向主人撒娇...");
    }
}
